using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentNHibernate.Mapping;
using Thaire.Investment.Domains.Master;
namespace Thaire.Investment.Repository
{
       
    class   CreditAgencyMap : ClassMap<CreditAgency>
    {

        public CreditAgencyMap()
            {
                Table("CREDIT_AGENCY");
                Id(x => x.CreditAgencyID,"CREDIT_AGENCY_ID").GeneratedBy.Native();

                Map(x => x.CreditAgencyIssueRating,"CREDIT_AGENCY_ISSUE_RATING");
 Map(x => x.CreditAgencyIssue,"CREDIT_AGENCY_ISSUE");
 Map(x => x.CreditAgencyCountry,"CREDIT_AGENCY_COUNTRY");
 Map(x => x.CreditAgencyRiskLevel, "CREDIT_AGENCY_RISK_LEVEL");
            
            }


    }

}